home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Util / Sd-Sm / SetNode.cpt / cdev.h next >
Encoding:
C/C++ Source or Header  |  1988-02-14  |  633 b   |  54 lines  |  [TEXT/KAHL]

  1. /* cdev.h
  2.         information for cdevs
  3.     */
  4.  
  5. #ifndef j__cdev__
  6. #define j__cdev__
  7.  
  8. #ifndef _MacTypes_
  9. #include <MacTypes.h>
  10. #endif
  11.  
  12. #ifndef _MemoryMgr_
  13. #include <MemoryMgr.h>
  14. #endif
  15.  
  16. #ifndef _EventMgr_
  17. #include <EventMgr.h>
  18. #endif
  19.  
  20. #ifndef _DialogMgr_
  21. #include <DialogMgr.h>
  22. #endif
  23.  
  24. enum {
  25.     initDev,
  26.     hitDev,
  27.     closeDev,
  28.     nulDev,
  29.     updateDev,
  30.     ActivDev,
  31.     deActDev,
  32.     keyEvtDev,
  33.     macDev,
  34.     undoDev,
  35.     cutDev,
  36.     copyDev,
  37.     pasteDev,
  38.     clearDev
  39. };
  40.  
  41. /* prototype for cdev entry function */
  42. pascal Handle 
  43.     main(
  44.             int message,
  45.             int item,
  46.             int numItems,
  47.             int CPanelID,
  48.             EventRecord *ep,
  49.             Handle cdevStorage,
  50.             DialogPtr CPDialog
  51.     );
  52.  
  53.  
  54. #endif